import './patch-vue-runtime'; // 先加载补丁
import { createApp } from "vue";
import App from "./App.vue";
import uviewPlus from 'uview-plus'
import 'vant/lib/index.css'
// import { registerGlobalComponents } from '@/components/register-global-components'
// import GlobalComponents from '@/pages/typings/components.d.ts';
// import NavBar from '@/components/NavBar/index.vue';
import Vant from 'vant'
// import NutUI from "@nutui/nutui";
// import { IconFont } from '@nutui/icons-vue'
// import '@nutui/icons-vue/dist/style_iconfont.css'
// import "@nutui/nutui/dist/style.css";
// const app = createApp()
// app.use(IconFont)
const app = createApp(App)

app.use(uviewPlus)
app.use(Vant)
// registerGlobalComponents(app)
// app.use(IconFont)
    app.mount("#app");
// createApp(App).use(NutUI).mount("#app");


